<template>
  <!-- <router-view></router-view> -->
  <div class="layout-page">
     <router-view></router-view>
      <!-- 首页架子 - 内容区域 -->
      <van-tabbar route>
        <van-tabbar-item to="/article" icon="notes-o">面经</van-tabbar-item>
        <van-tabbar-item to="/collect" icon="star-o">收藏</van-tabbar-item>
        <van-tabbar-item to="/like" icon="like-o">喜欢</van-tabbar-item>
        <van-tabbar-item to="/user" icon="user-o">我的</van-tabbar-item>
      </van-tabbar>
    </div>
</template>

<script>
export default {
  // 组件名(如果没有配置 name，才会找文件名作为组件名)
  name: 'LayoutPage',
  data () {
    return {
      active: 0
    }
  }
}
</script>
<style lang="less" scoped>
</style>
